Room description ...


Properties


BottomEdge

int BottomEdge

Gets the Y co-ordinate of the bottom edge of the room.


ColorDepth

int ColorDepth

Gets the colour depth of the room background.


Height

int Height

Gets the height of the room background.


LeftEdge

int LeftEdge

Gets the X co-ordinate of the left edge of the room.


Messages

Accesses room messages, as set up in the Room Message Editor. TODO: What is this?


MusicOnLoad

int MusicOnLoad

Gets the music that is played when the player enters this room.


Name

string Name

Gets the string ID of the Room


ObjectCount

int ObjectCount

Gets the number of objects in this room.


RightEdge

int RightEdge

Gets the X co-ordinate of the right edge of the room.


TopEdge

int TopEdge

Gets the Y co-ordinate of the top edge of the room.


Width

int Width

Gets the width of the room background.


Methods


GetBinaryProperty

int GetBinaryProperty(string property)

Gets a binary integer Custom Property associated with this room (0 or 1).


GetBoolProperty

bool GetBoolProperty(string property)

Gets a bool Custom Property associated with this room.


GetDrawingSurfaceForBackground

Gets drawing surgace for given background.


GetIntegerProperty

LooseInteger GetIntegerProperty(string property)

Gets an integer Custom Property associated with this room.


GetTextProperty

string GetTextProperty(string property)

Gets a string Custom Property associated with this room.


ProcessClick

void ProcessClick(int x, int y, CursorMode cursorMode)

Performs default processing of a mouse click at the specified co-ordinates.


SetBinaryProperty

void SetBinaryProperty(string property, int value)

Sets a binary integer Custom Property associated with this room.


SetBoolProperty

void SetBoolProperty(string property, bool value)

Sets a bool Custom Property associated with this room.


SetIntegerProperty

void SetIntegerProperty(string property, int value)

Sets an integer Custom Property associated with this room.


SetTextProperty

void SetTextProperty(string property, string value)

Sets a text Custom Property associated with this room.